package com.jieshuibao.model.domain;

import java.util.Date;
import java.util.HashMap;

import com.jieshuibao.model.db.QuestionUserEx;

public class LoginResponse {

	private String code;
	
	private String des;
	
	private String cookieId; // C_+手机号+时间
	
	private Double balance;
	
	private Double vipBalance;
	
	private Integer role;
	
	private String phoneNumber;
	
	private String phone;
	
	private String headImageUrl;
	
	private Integer status;
	
	private String counselorDuty;

	private Integer companyRole;

	private String realName;

	private String gender;

	private String birthday;

	private String address;//市
	
	private String province;//省

	private String companyName;

	private String headImage;

	private String accountantImage;

	private String taxImage;

	private String lawyerImage;

	private String aduitReason;

	private Date applyTime;

	private String experience;

	private HashMap<String, String> adepts;

	private String classicalCase;

	private Integer consultMoney;

	private String caseImages;

	private String levelName;

	private int levelMoney;

	private int companyStataus;

	private String licenseImage;
	
	private String companyLog;

	private double businessBalance;//企业会员卡余额

	private String position;

	private QuestionUserEx question;
	
	private String[] accountants;
	
	private String[] taxs;
	
	private String[] lawyers;
	
	private String[] cases;
	
	private String userName;
	
	private String vip;

	private Integer advisoryNum;

	private Integer videoNum;
	
	private int integralScore;
	
	private String trade;
	
	private String idCard;
	
	private String idCardFront;
	
	private String idCardBack;
	
	private int ifPwd;
	/**
	 * 消息通知是否显示小红点
	 */
	private boolean ifRedDotForMessage;
	/**
	 * 私密问是否显示小红点
	 */
	private boolean ifRedDotForAdvisory;
	/**
	 * 我的提问是否显示小红点
	 */
	private boolean ifRedDotForQuestion;
	/**
	 * 我的回答是否显示小红点
	 */
	private boolean ifRedDotForAnswer;

    private Double QACardBlance;

	public Double getQACardBlance() {
		return QACardBlance;
	}

	public void setQACardBlance(Double qACardBlance) {
		QACardBlance = qACardBlance;
	}

	public String getTrade() {
		return trade;
	}

	public void setTrade(String trade) {
		this.trade = trade;
	}

	public int getIntegralScore() {
		return integralScore;
	}

	public void setIntegralScore(int integralScore) {
		this.integralScore = integralScore;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getVip() {
		return vip;
	}

	public void setVip(String vip) {
		this.vip = vip;
	}

	public Integer getAdvisoryNum() {
		return advisoryNum;
	}

	public void setAdvisoryNum(Integer advisoryNum) {
		this.advisoryNum = advisoryNum;
	}

	public Integer getVideoNum() {
		return videoNum;
	}

	public void setVideoNum(Integer videoNum) {
		this.videoNum = videoNum;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String[] getAccountants() {
		
		String accountantImage2 = getAccountantImage();
		if(accountantImage2!=null&&!accountantImage2.equals("")){
			String replaceAl = accountantImage2.replaceAll("(\"|\\[|\\])", "");
			String[]  split = replaceAl.split(",");
			 return split;
		}
		return accountants;
	}

	public void setAccountants(String[] accountants) {
		this.accountants = accountants;
	}

	public String[] getTaxs() {
		String taxImage2 = getTaxImage();
		if(taxImage2!=null&&!taxImage2.equals("")){
			String replaceAl = taxImage2.replaceAll("(\"|\\[|\\])", "");
			String[]  split = replaceAl.split(",");
			 return split;
		}
		return taxs;
	}

	public void setTaxs(String[] taxs) {
		this.taxs = taxs;
	}

	public String[] getLawyers() {
		String lawyerImage2 = getLawyerImage();
		if(lawyerImage2!=null&&!lawyerImage2.equals("")){
			String replaceAl = lawyerImage2.replaceAll("(\"|\\[|\\])", "");
			String[]  split = replaceAl.split(",");
			 return split;
		}
		return lawyers;
	}

	public void setLawyers(String[] lawyers) {
		this.lawyers = lawyers;
	}
	public String[] getCases() {
		
		String caseImages2 = getCaseImages();
		if(caseImages2!=null&&!caseImages2.equals("")){
			String replaceAl = caseImages2.replaceAll("(\"|\\[|\\])", "");
			String[]  split = replaceAl.split(",");
			 return split;
		}
		return cases;
	}

	public void setCases(String[] cases) {
		this.cases = cases;
	}

	public String getCompanyLog() {
		return companyLog;
	}

	public void setCompanyLog(String companyLog) {
		this.companyLog = companyLog;
	}

	public QuestionUserEx getQuestion() {
		return question;
	}

	public void setQuestion(QuestionUserEx question) {
		this.question = question;
	}

	public double getBusinessBalance() {
		return businessBalance;
	}

	public void setBusinessBalance(double businessBalance) {
		this.businessBalance = businessBalance;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public Double getVipBalance() {
		return vipBalance;
	}

	public void setVipBalance(Double vipBalance) {
		this.vipBalance = vipBalance;
	}

	public int getCompanyStataus() {
		return companyStataus;
	}

	public void setCompanyStataus(int companyStataus) {
		this.companyStataus = companyStataus;
	}

	public String getLicenseImage() {
		return licenseImage;
	}

	public void setLicenseImage(String licenseImage) {
		this.licenseImage = licenseImage;
	}

	public String getLevelName() {
		return levelName;
	}

	public void setLevelName(String levelName) {
		this.levelName = levelName;
	}

	public int getLevelMoney() {
		return levelMoney;
	}

	public void setLevelMoney(int levelMoney) {
		this.levelMoney = levelMoney;
	}

	public String getCounselorDuty() {
		return counselorDuty;
	}

	public void setCounselorDuty(String counselorDuty) {
		this.counselorDuty = counselorDuty;
	}

	public Integer getCompanyRole() {
		return companyRole;
	}

	public void setCompanyRole(Integer companyRole) {
		this.companyRole = companyRole;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getHeadImage() {
		return headImage;
	}

	public void setHeadImage(String headImage) {
		this.headImage = headImage;
	}

	public String getHeadImageUrl() {
		return headImageUrl;
	}

	public void setHeadImageUrl(String headImageUrl) {
		this.headImageUrl = headImageUrl;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getAccountantImage() {
		return accountantImage;
	}

	public void setAccountantImage(String accountantImage) {
		this.accountantImage = accountantImage;
	}

	public String getTaxImage() {
		return taxImage;
	}

	public void setTaxImage(String taxImage) {
		this.taxImage = taxImage;
	}

	public String getLawyerImage() {
		return lawyerImage;
	}

	public void setLawyerImage(String lawyerImage) {
		this.lawyerImage = lawyerImage;
	}

	public String getAduitReason() {
		return aduitReason;
	}

	public void setAduitReason(String aduitReason) {
		this.aduitReason = aduitReason;
	}

	public Date getApplyTime() {
		return applyTime;
	}

	public void setApplyTime(Date applyTime) {
		this.applyTime = applyTime;
	}

	public String getExperience() {
		return experience;
	}

	public void setExperience(String experience) {
		this.experience = experience;
	}

	public HashMap<String, String> getAdepts() {
		return adepts;
	}

	public void setAdepts(HashMap<String, String> adepts) {
		this.adepts = adepts;
	}

	public String getClassicalCase() {
		return classicalCase;
	}

	public void setClassicalCase(String classicalCase) {
		this.classicalCase = classicalCase;
	}

	public Integer getConsultMoney() {
		return consultMoney;
	}

	public void setConsultMoney(Integer consultMoney) {
		this.consultMoney = consultMoney;
	}

	public String getCaseImages() {
		return caseImages;
	}

	public void setCaseImages(String caseImages) {
		this.caseImages = caseImages;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDes() {
		return des;
	}

	public void setDes(String des) {
		this.des = des;
	}

	public String getCookieId() {
		return cookieId;
	}

	public void setCookieId(String cookieId) {
		this.cookieId = cookieId;
	}

	public Double getBalance() {
		return balance;
	}

	public void setBalance(Double balance) {
		this.balance = balance;
	}

	public Integer getRole() {
		return role;
	}

	public void setRole(Integer role) {
		this.role = role;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public String getIdCardFront() {
		return idCardFront;
	}

	public void setIdCardFront(String idCardFront) {
		this.idCardFront = idCardFront;
	}

	public String getIdCardBack() {
		return idCardBack;
	}

	public void setIdCardBack(String idCardBack) {
		this.idCardBack = idCardBack;
	}

	public int getIfPwd() {
		return ifPwd;
	}

	public void setIfPwd(int ifPwd) {
		this.ifPwd = ifPwd;
	}

	public boolean isIfRedDotForMessage() {
		return ifRedDotForMessage;
	}

	public void setIfRedDotForMessage(boolean ifRedDotForMessage) {
		this.ifRedDotForMessage = ifRedDotForMessage;
	}

	public boolean isIfRedDotForAdvisory() {
		return ifRedDotForAdvisory;
	}

	public void setIfRedDotForAdvisory(boolean ifRedDotForAdvisory) {
		this.ifRedDotForAdvisory = ifRedDotForAdvisory;
	}

	public boolean isIfRedDotForQuestion() {
		return ifRedDotForQuestion;
	}

	public void setIfRedDotForQuestion(boolean ifRedDotForQuestion) {
		this.ifRedDotForQuestion = ifRedDotForQuestion;
	}

	public boolean isIfRedDotForAnswer() {
		return ifRedDotForAnswer;
	}

	public void setIfRedDotForAnswer(boolean ifRedDotForAnswer) {
		this.ifRedDotForAnswer = ifRedDotForAnswer;
	}
}
